package ooday03;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/2/22
 **/
public class Chick extends Animal {
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println("名叫"+name+"的小鸡在吃大米");
    }
    void layEggs(){
        System.out.println(color+"色的"+"名叫"+name+"的小鸡正在下蛋");
    }
}
